package com.findmeastore.bo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * MasterLocality entity. @author MyEclipse Persistence Tools
 */

public class MasterLocality implements java.io.Serializable {

	// Fields

	private Integer id;
	private User userByCreatedBy;
	private MasterZone masterZone;
	private MasterCity masterCity;
	private User userByLastModifiedBy;
	private MasterLocality masterLocality;
	private Timestamp creationTstamp;
	private Timestamp lastModifiedTstamp;
	private String name;
	private String alias;
	private Double latitude;
	private Double longitude;
	private Set masterLocalities = new HashSet(0);
	private Set relLocalityProximitiesForProxLocalityId = new HashSet(0);
	private Set relLocalityProximitiesForLocalityId = new HashSet(0);

	// Constructors

	/** default constructor */
	public MasterLocality() {
	}

	/** minimal constructor */
	public MasterLocality(User userByCreatedBy, MasterCity masterCity,
			User userByLastModifiedBy, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterCity = masterCity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
	}

	/** full constructor */
	public MasterLocality(User userByCreatedBy, MasterZone masterZone,
			MasterCity masterCity, User userByLastModifiedBy,
			MasterLocality masterLocality, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name, String alias,
			Double latitude, Double longitude, Set masterLocalities,
			Set relLocalityProximitiesForProxLocalityId,
			Set relLocalityProximitiesForLocalityId) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterZone = masterZone;
		this.masterCity = masterCity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.masterLocality = masterLocality;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
		this.alias = alias;
		this.latitude = latitude;
		this.longitude = longitude;
		this.masterLocalities = masterLocalities;
		this.relLocalityProximitiesForProxLocalityId = relLocalityProximitiesForProxLocalityId;
		this.relLocalityProximitiesForLocalityId = relLocalityProximitiesForLocalityId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUserByCreatedBy() {
		return this.userByCreatedBy;
	}

	public void setUserByCreatedBy(User userByCreatedBy) {
		this.userByCreatedBy = userByCreatedBy;
	}

	public MasterZone getMasterZone() {
		return this.masterZone;
	}

	public void setMasterZone(MasterZone masterZone) {
		this.masterZone = masterZone;
	}

	public MasterCity getMasterCity() {
		return this.masterCity;
	}

	public void setMasterCity(MasterCity masterCity) {
		this.masterCity = masterCity;
	}

	public User getUserByLastModifiedBy() {
		return this.userByLastModifiedBy;
	}

	public void setUserByLastModifiedBy(User userByLastModifiedBy) {
		this.userByLastModifiedBy = userByLastModifiedBy;
	}

	public MasterLocality getMasterLocality() {
		return this.masterLocality;
	}

	public void setMasterLocality(MasterLocality masterLocality) {
		this.masterLocality = masterLocality;
	}

	public Timestamp getCreationTstamp() {
		return this.creationTstamp;
	}

	public void setCreationTstamp(Timestamp creationTstamp) {
		this.creationTstamp = creationTstamp;
	}

	public Timestamp getLastModifiedTstamp() {
		return this.lastModifiedTstamp;
	}

	public void setLastModifiedTstamp(Timestamp lastModifiedTstamp) {
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAlias() {
		return this.alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public Double getLatitude() {
		return this.latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return this.longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Set getMasterLocalities() {
		return this.masterLocalities;
	}

	public void setMasterLocalities(Set masterLocalities) {
		this.masterLocalities = masterLocalities;
	}

	public Set getRelLocalityProximitiesForProxLocalityId() {
		return this.relLocalityProximitiesForProxLocalityId;
	}

	public void setRelLocalityProximitiesForProxLocalityId(
			Set relLocalityProximitiesForProxLocalityId) {
		this.relLocalityProximitiesForProxLocalityId = relLocalityProximitiesForProxLocalityId;
	}

	public Set getRelLocalityProximitiesForLocalityId() {
		return this.relLocalityProximitiesForLocalityId;
	}

	public void setRelLocalityProximitiesForLocalityId(
			Set relLocalityProximitiesForLocalityId) {
		this.relLocalityProximitiesForLocalityId = relLocalityProximitiesForLocalityId;
	}

}